<?php

namespace frontend\controllers;

use Yii;

/**
 * userHproseServer
 */
class UserController extends HproseBaseController {

    public function test() {
        $data = ['name' => 'a'];
        return jsonSuccessExit("ok", $data);
        return jsonFailExit(-1000, "fail", ['name' => 'a']);
    }

    public function hello() {
        return 'server/user/hello';
    }

}
